text/template/parse.Tree.peek (method)
11 uses
text/template/parse (current package)
parse.go#L113: func (t *Tree) peek() item {
parse.go#L313: t.Root = t.newList(t.peek().pos)
parse.go#L314: for t.peek().typ != itemEOF {
parse.go#L315: if t.peek().typ == itemLeftDelim {
parse.go#L429: token := t.peek()
parse.go#L478: tokenAfterVariable := t.peek()
parse.go#L561: if context == "if" && t.peek().typ == itemIf {
parse.go#L565: } else if context == "with" && t.peek().typ == itemWith {
parse.go#L743: if t.peek().typ == itemField {
parse.go#L744: chain := t.newChain(t.peek().pos, node)
parse.go#L745: for t.peek().typ == itemField {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)